﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceability.Doamin
{
    /// <summary>
    /// 企业信息
    /// </summary>
    public class Enterprise
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public int C_EnterpriseId { get; set; }
        /// <summary>
        /// 养殖企业养殖场
        /// </summary>
        public string? Farms { get; set; }
        /// <summary>
        /// 养殖企业负责人
        /// </summary>
        public string? ChargeName { get; set; }
        /// <summary>
        /// 存栏数量
        /// </summary>
        public int? NumberStocks { get; set; }
        /// <summary>
        /// 屠宰企业信息名称
        /// </summary>
        public string? S_Name { get; set; }
        /// <summary>
        /// 公司地址
        /// </summary>
        public string? Address { get; set; }
        /// <summary>
        /// 成立时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
        /// <summary>
        /// 公司简介
        /// </summary>
        public string? Synopsis { get; set; }
        /// <summary>
        /// 深加工公司
        /// </summary>
        public string? S_Firm { get; set; }
        /// <summary>
        /// 深加工生产许可证号
        /// </summary>
        public string? S_ProductionNumber { get; set; }
        /// <summary>
        /// 商品外键
        /// </summary>
        public int? CommodityId { get; set; }
    }
}
